home *** CD-ROM | disk | FTP | other *** search
/ Champak 106 / Vol 106.iso / games / stepp000.swf / scripts / DefineSprite_1230 / frame_30 / DoAction.as
Encoding:
Text File  |  2010-04-12  |  549 b   |  25 lines

  1. if(eval("/Variables:EtatActif") eq "Tab4")
  2. {
  3.    set("/Variables:Tab4PontBaisse",true);
  4.    tellTarget("_root.Pont")
  5.    {
  6.       gotoAndStop(2);
  7.    }
  8.    nextFrame();
  9. }
  10. if(eval("/Variables:Arrive") eq "Manivelle3" and eval("/Variables:EtatActif") eq "Tab2")
  11. {
  12.    tellTarget("_parent")
  13.    {
  14.       gotoAndStop("CageSquelette");
  15.    }
  16. }
  17. if(eval("/Variables:EtatActif") eq "Tab2" and eval("/Variables:Arrive") eq "Manivelle2")
  18. {
  19.    set("/Variables:Arrive","");
  20.    tellTarget("_parent")
  21.    {
  22.       gotoAndStop("CageStepMonte");
  23.    }
  24. }
  25.